export default (interval: number)=> {
    return new Promise(resolve => {
        setTimeout(resolve, interval);
    })
}